Leat\Api\Connection B

Total Complexity 100
Dependencies 16
Dependents 15
Total lines 725
Lines of code 467
Logical lines of code 230
Comment lines 140
Methods 28
Properties 2

Methods 28

Method Rating Maintainability Complexity Lines of code
get_shops()
A
48 10 33
apply_credits()
A
48 10 33
send_giftcard_email()
A
47 7 36
log_exception()
S
51 6 28
create_reward_reception()
S
53 5 24
get_rewards_for_contact()
S
53 5 24
get_rewards()
S
56 5 20
refund_credits_partial()
S
54 4 22
list_giftcard_programs()
S
57 4 17
get_promotions()
S
57 4 17
refund_credits_full()
S
58 4 17
get_shop()
S
58 4 16
create_giftcard_transaction()
S
56 3 19
create_giftcard()
S
57 3 18
reverse_giftcard_transaction()
S
61 3 13
init_client()
S
62 3 12
create_giftcard_refund_transaction()
S
63 3 11
format_reward()
S
58 2 16
get_items_for_sync()
S
64 3 10
format_voucher()
S
56 1 19
has_api_key()
S
75 2 4
get_api_key()
S
69 2 7
__construct()
S
66 2 9
format_promotion()
S
61 1 12
format_giftcard_program()
S
64 1 10
format_giftcard()
S
69 1 7
format_giftcard_transaction()
S
69 1 7
format_shop()
S
71 1 6